package de.moc.shared;

import java.io.Serializable;
import java.util.Vector;

@SuppressWarnings("serial")
public class Survey implements Serializable {

	protected String id;

	protected String name;

	protected Vector<Choice> choices;

	public Survey() {
		name = "";
		choices = null;
		id = null;
	}

	public Survey(String name, Vector<Choice> choices) {
		this.name = name;
		this.choices = choices;
		this.id = "";
	}

	public Survey(String name, Vector<Choice> choices, String id) {
		this.name = name;
		this.choices = choices;
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Vector<Choice> getChoices() {
		return choices;
	}

	public void setChoices(Vector<Choice> choices) {
		this.choices = choices;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
